package Adapter_Pattern.Player;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class PlayerAdapter extends Player{
    private Winplayer winplayer;
    private RealPlayer realPlayer;

    public PlayerAdapter(){
        winplayer=new Winplayer();
        realPlayer=new RealPlayer();
    }

    @Override
    public void Win_player() {
        winplayer.API_Win();
    }

    @Override
    public void Real_player() {
        realPlayer.API_Real();
    }
}
